<template>
  <el-container class="layout">
    <el-aside width="auto">
      <Aside />
    </el-aside>
    <el-container>
      <el-header>
        <Header />
      </el-header>
      <el-main>
        <router-view></router-view>
      </el-main>
    </el-container>
  </el-container>
</template>

<script setup lang="ts">
import Aside from "@/components/Aside.vue";
import Header from "@/components/Header.vue";
</script>

<style scoped lang="less">
.layout {
  width: 100%;
  height: 100%;

  .el-container {
    width: 100%;

    .el-header {
      width: 100%;
      height: 60px;
    }

    .el-main {
      width: 100%;
      height: 100%;
    }
  }
}
</style>